//4.根据学生类，创建一个学生干部类 StudentLeader
//增加属性：
//职务job；
//增加方法：开会meeting。
public class StudentLeader extends Student{
    private String job;

    @Override
    public void work() {
        System.out.println("学生干部在开会");
    }

    public StudentLeader() {
    }

    public StudentLeader(String name, String gender, int age, String nationality, String school, String stuNumber, String job) {
        super(name, gender, age, nationality, school, stuNumber);
        this.job = job;
    }

    public String getJob() {
        return job;
    }

    public void setJob(String job) {
        this.job = job;
    }
}
